package com.xj.pattern.strategy;

import com.xj.pattern.strategy.context.AutowireCapableBeanContext;
import com.xj.pattern.strategy.impl.SimpleInstantiationStrategy;

public class Test {
	
	public static void main(String[] args) {
		
		AutowireCapableBeanContext a = new AutowireCapableBeanContext();
		a.autowire("java.lang.Integer");
		
		a.setInstantiationStrategy(new SimpleInstantiationStrategy());
		a.autowire("java.lang.String");
	}

}
